# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：     day110_pyqt5
   Description :
   Author :       fuml
   date：          2019/9/20
-------------------------------------------------
   Change Activity:
                   2019/9/20:
                   This example shows three labels on a window
using absolute positioning.
-------------------------------------------------
"""

import  sys
from PyQt5.QtWidgets import (QWidget,QApplication,QLabel)
from PyQt5.QtGui import QIcon

class Example(QWidget):
    def __init__(self):
        super().__init__()
        self.initUI()

    def initUI(self):
        lbl1 = QLabel('ZetCode',self)
        lbl1.move(15,10)

        lbl2 = QLabel('Tutorial', self)
        lbl2.move(35, 40)

        lbl3 = QLabel('for programmers', self)
        lbl3.move(45, 70)

        #set gemotry
        self.setGeometry(300,300,300,200)
        self.setWindowTitle('Absolute')
        #self.setWindowIcon(QIcon('web.png'))


        self.show()

if __name__ == '__main__':
    app = QApplication(sys.argv)
    ex=Example()
    sys.exit(app.exec_())
